﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace TriQuest_World_Editor
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //Application.Run(new Form1());

            // Make the Form
            Form1 theForm = new Form1();

            // Display the Form
            theForm.Show();

            // Start the main program loop
            while ( theForm.Looping1 )
            {
                // Call our forms
                theForm.Update();

                // Call the Render
                theForm.Render();

                // Handle Events
                Application.DoEvents();
            }
        }
    }
}